package com.jet.goods.service;

import com.jet.core.model.vo.PageVo;
import com.jet.goods.domain.dto.TagDto;
import com.jet.goods.domain.entity.GoodsTag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jet.goods.domain.query.TagQuery;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-03-04
 */
public interface IGoodsTagService extends IService<GoodsTag> {

    void create(long merchantNo, TagDto dto);

    void edit(long merchantNo, String id, TagDto dto);

    PageVo<GoodsTag> page(long merchantNo, String name, TagQuery query);

    List<GoodsTag> findAll(long merchantNo);
}
